1
کامپیوتر و شبکه::
دیتا بایندینگ
Remember that Angular evaluates data binding expressions repeatedly when there is an update, and it is a good idea to perform this kind of calculation only when required to avoid repeatedly inspecting the products in the cart.
There is a button element that uses a Font Awesome icon for a shopping cart and that is configured with a data binding on the disable attribute like this:
This data binding disables the button when there are no items in the cart.
This is done using standard data bindings (denoted by the {{ and }} characters), built-in directives (ngFor and ngIf), and pipes (for formatting currency amounts).
This is a two-way data binding, which means that a single binding can read a data value and modify it.
واژگان شبکه مترجمین ایران